:root {
  /*** COLORES ***/
  --accion: #68c3d4;
  --principal: #ffe8d1;
  --secundario: #568ea3;
  --colorTexto: #110904;
  --gris: #d3d3d3;
  --gris1: #2c2c2c;
  --shadow: rgba(0, 0, 0, 0.18) 0px 5px 15px 0px;
  --radius: 16px;
  /*** FUENTES ***/
  --fuenteTexto: "Montserrat", sans-serif;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 8em;
}

body {
  position: relative;
  font-family: var(--fuenteTexto);
  color: var(--colorTexto);
  text-rendering: optimizeSpeed;
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
  font-weight: 900;
}

h1 {
  font-size: clamp(2.6rem, 2.082rem + 2.59vw, 4rem);
  margin: 0;
}

h2 {
  font-size: clamp(2.2rem, 1.782rem + 2.09vw, 3.2rem);
  text-align: center;
  width: min(100%, 992px);
  margin-inline: auto;
}

h3 {
  font-size: clamp(1.8rem, 1.482rem + 1.59vw, 2.6rem);
}

h4 {
  font-size: clamp(1.4rem, 1.182rem + 1.09vw, 2rem);
}

h5,
p,
li {
  word-wrap: break-word;
  font-size: clamp(1.125rem, 1.072rem + 0.26vw, 1.25rem);
}

a {
  text-decoration: none;
  color: var(--accion);
}

ul li {
  list-style: none;
  margin: 0 0 0 1em;
}

ol li {
  list-style: decimal !important;
  margin: 0 0 0 2em;
}

::marker {
  color: var(--accion);
  font-size: 1.5em;
}

blockquote {
  position: relative;
  padding-left: 2em;
  border-left: #fefefe;
  border-left-width: 1em;
  border-left-style: double;
  padding: 2em;
  background-color: var(--secundario);
  box-shadow: 0 0 0 100vmax var(--secundario);
  -webkit-clip-path: inset(0 -100vmax);
          clip-path: inset(0 -100vmax);
}

blockquote p {
  color: white;
  font-size: 1.6em;
}

blockquote a {
  color: var(--blanco);
}

hr {
  border: 0;
  height: 4px;
  background-color: var(--principal);
  width: 80px;
  margin: 2em 0;
}

.cta {
  background-color: var(--secundario);
box-shadow: 0 0 0 100vmax var(--secundario);
clip-path: inset(0 -100vmax);
  color: var(--principal);
  text-align: center;

  img{
    max-width: 100%;
  }
}

.cta .wrapper{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;

  img{
    box-shadow: var(--shadow);
  }
}

.cta_copy{
  flex: 1 0 320px;
  max-width: 100%;
}

.wrapper {
  width: min(calc(100% - 2rem), 1080px);
  margin-inline: auto;
  padding: 4rem 0;
}

.content {
  width: min(calc(100% - 2rem), 1080px);
  margin-inline: auto;
}

.flow > * + * {
  margin-top: 1em;
}

.resaltar {
  color: var(--secundario);
}

.boton {
  display: block;
  border-radius: var(--radius);
  text-decoration: none;
  padding: 16px 24px;
  width: min(100%, 320px);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.boton:hover {
  transform: scale(1.024);
}

.boton_1 {
  color: white !important;
  background-color: var(--accion);
}

.boton_2 {
  margin-inline: auto;
  color: var(--accion);
  background-color: white;
  border: 2.4px solid var(--principal);
}

.boton_1:active,
.boton_2:active {
  box-shadow: none;
}

/* background-color: var(--secundario);
box-shadow: 0 0 0 100vmax var(--secundario);
clip-path: inset(0 -100vmax); */


nav{
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  padding: 12px 0 8px;
  background-color: rgba(250, 252, 252, 0.96);
  box-shadow: var(--shadow);
}

nav > div {
  width: min(calc(100% - 2rem), 1080px);
  margin-inline: auto;
  display: flex;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
}

nav .logo{
  display: flex;
  align-items: center;
  gap: 8px;
}

nav .logo img {
  width: min(100%, 34px);
}

nav .logo span{
  display: none;
}

nav .boton{
  margin: 0;
}

@media screen and (min-width: 600px) {
  nav .logo span{
    display: block;
    font-weight: bolder;
  }
  
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown span{
  font-size: clamp(1.125rem, 1.089rem + 0.18vw, 1.25rem);
  color: var(--accion);
  font-weight: 900;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background-color: #f9f9f9;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 10;
  border-radius: var(--radius);
}

.dropdown-content a{
  text-decoration: none;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-content a:hover{
  background-color: var(--accion);
  padding: 2px 4px;
  color: white;
}

.dropdown:hover .dropdown-content{
  display: grid;
  gap: 1em;
}

.home_header{
  margin-top: 4em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}

.home_header > div{
  flex: 1 0 400px;
  max-width: 100%;
}

.home_header div h1{
  margin: 0;
}

.header_landing{
  display: grid;
  place-items: center;
  gap: 40px;
}

.home_header img,
.header_landing img
{
  box-shadow: var(--shadow);
  width: min(100%, 400px);
}

.header_landing h1{
  text-align: center;
}
.landing{
  display: block;
  clear: both;
  content: "";
}

.landing img{
  width: min(100%, 400px);
  position: relative;
  float: right;
  margin: 1em 0 1em 1em;
  box-shadow: var(--shadow);
}


@media screen and (width <= 992px) {
  .landing img{
    display: block;
    float: none;
    margin: 0;
  }
  
}

.carousel_container{
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel{
  display: flex;
  -webkit-animation: scroll 10s linear infinite;
  animation: scroll 10s linear infinite;
  width: calc(360px * 17);
  overflow: hidden;
}

.carousel .item{
  width: 360px;
  padding: 1rem;
}

.carousel .item img{
  width: 100%;
}

.carousel .item span{
  font-size: 16px;
  text-align: center;
  display: flex;
  color: var(--complemento);
  font-weight: 700;
}

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-360px * 17));
    transform: translateX(calc(-360px * 17));
  }
}
.preguntas {
  display: grid;
  justify-items: center;
  padding: 2em;
  box-shadow: var(--shadow);
  gap: 2em;
}

.accordion .accordion-item {
  border-bottom: 1px solid var(--gris3);
}

.accordion .accordion-item button[aria-expanded=true] {
  border-bottom: 1px solid white;
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  font-size: 1.15rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}

.accordion button:hover,
.accordion button:focus {
  cursor: pointer;
}

.accordion button:hover::after,
.accordion button:focus::after {
  cursor: pointer;
  border: 1px solid var(--acento);
}

.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 22px;
  height: 22px;
  border: 1px solid;
  border-radius: 22px;
}

.accordion button .icon::before {
  display: block;
  position: absolute;
  content: "";
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.accordion button .icon::after {
  display: block;
  position: absolute;
  content: "";
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.accordion button[aria-expanded=true] {
  color: var(--accion);
}

.accordion button[aria-expanded=true] .icon::after {
  width: 0;
}

.accordion button[aria-expanded=true]+.accordion-content {
  opacity: 1;
  max-height: -webkit-min-content;
  max-height: -moz-min-content;
  max-height: min-content;
  transition: all 200ms linear;
  will-change: opacity, max-height;
  color: var(--accion);
}

.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content p {
  font-size: 1rem;
  font-weight: 300;
  margin: 2em 0;
}

.accordion a{
  color: var(--accion);
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  background-color: var(--secundario);
}

footer a,
footer p {
  display: inline-block;
  font-family: var(--fuenteTexto);
  font-size: var(--sizeTextos);
  margin: 0;
  padding: 0;
}

footer a {
  color: var(--principal);
  margin: 1rem 0.5rem;
  font-weight: 700;
}
/* Buscador */

#search-container {
  position: relative;
  margin-inline: auto;
  width: min(100%, 680px);
  display: flex;
  flex-direction: column;
}

#search-container h3{
  color: var(--azul);
}

#search-container input {
  padding: 0.9rem;
  border: none;
  border-bottom: 2px solid var(--accion);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

#results-container{
  padding: 1em;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-bottom: 2px solid var(--secundario);
}

#results-container div a {
  font-family: var(--fuenteTitulo);
  color: var(--principal);
  text-decoration: underline;
  text-decoration-thickness: 4px;
}
#results-container div h3{
  margin: 1.5rem 0;
}